<template>
      <el-tabs v-model="activeName">
          <el-tab-pane label="病案首页" name="999">
               <Editor id="999" doc="/doc/999.html" ></Editor>
          </el-tab-pane>
          <el-tab-pane label="入院记录" name="157">
               <Editor id="157" doc="/doc/157.html" mode="readonly" ></Editor>
          </el-tab-pane>
          <el-tab-pane label="超声检查" name="302">
               <Editor id="302" doc="/doc/302.html" mode="readonly" ></Editor>
          </el-tab-pane>
     </el-tabs>
     <Source src="/code/TabSample.vue"></Source>
</template>

<script setup>
import Editor from '@/components/Editor.vue';
import Source from '@/components/Source.vue';
import { ref } from 'vue'

  const activeName = ref('999')

</script>